<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\bean;
class OrderTotalBean extends BaseBean
{

	static $id = 'id'; //
	static $orderNumber = 'order_number'; //订单号
	static $userId = 'user_id'; //用户id
	static $type = 'type'; //类型（1充值、2消费）
	static $transactionPrice = 'transaction_price'; //交易金额
	static $otherPrice = 'other_price'; //其他金额（充值为赠送金额，消费为折扣金额）
	static $realPrice = 'real_price'; //实际交易金额
	static $payType = 'pay_type'; //1微信支付，2余额支付
	static $blance = 'blance'; //用户余额
	static $createdAt = 'created_at'; //创建时间

	static $tableName = 'order_total';
	static $alias = 'OrderTotalBean';

		
	public function getId(){
		return $this->getParameter(self::$id);
	}

	public function setId($id){
		$this->setParameter('id',$id);
	}

	public function getOrderNumber(){
		return $this->getParameter(self::$orderNumber);
	}

	public function setOrderNumber($orderNumber){
		$this->setParameter('order_number',$orderNumber);
	}

	public function getUserId(){
		return $this->getParameter(self::$userId);
	}

	public function setUserId($userId){
		$this->setParameter('user_id',$userId);
	}

	public function getType(){
		return $this->getParameter(self::$type);
	}

	public function setType($type){
		$this->setParameter('type',$type);
	}

	public function getTransactionPrice(){
		return $this->getParameter(self::$transactionPrice);
	}

	public function setTransactionPrice($transactionPrice){
		$this->setParameter('transaction_price',$transactionPrice);
	}

	public function getOtherPrice(){
		return $this->getParameter(self::$otherPrice);
	}

	public function setOtherPrice($otherPrice){
		$this->setParameter('other_price',$otherPrice);
	}

	public function getRealPrice(){
		return $this->getParameter(self::$realPrice);
	}

	public function setRealPrice($realPrice){
		$this->setParameter('real_price',$realPrice);
	}

	public function getPayType(){
		return $this->getParameter(self::$payType);
	}

	public function setPayType($payType){
		$this->setParameter('pay_type',$payType);
	}

	public function getBlance(){
		return $this->getParameter(self::$blance);
	}

	public function setBlance($blance){
		$this->setParameter('blance',$blance);
	}

	public function getCreatedAt(){
		return $this->getParameter(self::$createdAt);
	}

	public function setCreatedAt($createdAt){
		$this->setParameter('created_at',$createdAt);
	}


}
